#!/usr/bin/env python
# -*- coding: utf-8 -*-

#
# This program is free software; you can redistribute it and/or modify  
# it under the terms of the GNU General Public License as published by  
# the Free Software Foundation; either version 2 of the License, or     
# (at your option) any later version.                                   
#                                                                         
# A copy of the license can be found in the license.txt file supplied   
# with this software or at: http://www.gnu.org/copyleft/gpl.html       
#


class   Proxy(object) :
    def __init__(self, url) :
        '''
        @param url URL of remote EndPoint connected to
        '''
        self.url = url
        ## __init__()

    def __eq__(self, rhs) :
        if self.url == rhs.url :
            return True
        return False
        ## __eq__()

    def callout(self, method, parameters) :
        raise NotImplementedError
        ## callout

    def open(self) :
        raise NotImplementedError
        ## open()

    def close(self) :
        raise NotImplementedError
        ## close()

    def ping(self) :
        raise NotImplementedError
        ## ping()

    ## class Proxy

